<?php
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */

    // no direct access
    defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

    class AgencyObject extends mosDBTable {

	var $id = 0;
	var $name = '';
  	var $description = '';
        var $image = '';
	var $email = '';
        var $phone = '';
  	var $contact = '';
        var $web = '';
        var $secret = '';
        var $created_by = 0;
  	var $date = '';
        var $published = 0;
        var $publish_up = '';
        var $publish_down = '';
        var $money = 0;

        var $db;

  	function AgencyObject( &$db ) {
            $this->db = $db;
            $this->mosDBTable( '#__estateagent_agency', 'id', $this->db );
  	}

        function approve($id) {
            return;
  	}

        function ban($id) {
            return;
  	}

        function getAttr($name) {
            return;
  	}

        function setAttr($name, $value) {
            return;
  	}
    }
?>
